import flet as ft

name = "CupertinoSlider example"


def example():
    return ft.Column(
        controls=[
            ft.Text("Cupertino slider:"),
            ft.CupertinoSlider(),
            ft.Text("Material slider:"),
            ft.Slider(),
            ft.Text("Adaptive slider:"),
            ft.Tooltip(
                message="Adaptive Slider shows as CupertinoSlider on macOS and iOS and as Slider on other platforms",
                content=ft.Slider(adaptive=True),
            ),
        ]
    )
